package com.haomi.model;

import java.sql.Timestamp;

/**
 * Activity entity. @author MyEclipse Persistence Tools
 */

public class Activity implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String description;
	private Timestamp startTime;
	private Timestamp endTime;
	private String place;
	private Integer creatorId;
	private Integer interested;
	private Integer participated;
	private Integer type;
	private Integer isLimited;
	private Integer limited;
	private String postPic;
	private Integer activityAlbum;

	// Constructors

	/** default constructor */
	public Activity() {
	}

	/** minimal constructor */
	public Activity(String title, String description, Timestamp startTime,
			Timestamp endTime, String place, Integer creatorId,
			Integer interested, Integer participated, Integer type,
			Integer isLimited) {
		this.title = title;
		this.description = description;
		this.startTime = startTime;
		this.endTime = endTime;
		this.place = place;
		this.creatorId = creatorId;
		this.interested = interested;
		this.participated = participated;
		this.type = type;
		this.isLimited = isLimited;
	}

	/** full constructor */
	public Activity(String title, String description, Timestamp startTime,
			Timestamp endTime, String place, Integer creatorId,
			Integer interested, Integer participated, Integer type,
			Integer isLimited, Integer limited, String postPic,
			Integer activityAlbum) {
		this.title = title;
		this.description = description;
		this.startTime = startTime;
		this.endTime = endTime;
		this.place = place;
		this.creatorId = creatorId;
		this.interested = interested;
		this.participated = participated;
		this.type = type;
		this.isLimited = isLimited;
		this.limited = limited;
		this.postPic = postPic;
		this.activityAlbum = activityAlbum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Timestamp getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public Integer getCreatorId() {
		return this.creatorId;
	}

	public void setCreatorId(Integer creatorId) {
		this.creatorId = creatorId;
	}

	public Integer getInterested() {
		return this.interested;
	}

	public void setInterested(Integer interested) {
		this.interested = interested;
	}

	public Integer getParticipated() {
		return this.participated;
	}

	public void setParticipated(Integer participated) {
		this.participated = participated;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getIsLimited() {
		return this.isLimited;
	}

	public void setIsLimited(Integer isLimited) {
		this.isLimited = isLimited;
	}

	public Integer getLimited() {
		return this.limited;
	}

	public void setLimited(Integer limited) {
		this.limited = limited;
	}

	public String getPostPic() {
		return this.postPic;
	}

	public void setPostPic(String postPic) {
		this.postPic = postPic;
	}

	public Integer getActivityAlbum() {
		return this.activityAlbum;
	}

	public void setActivityAlbum(Integer activityAlbum) {
		this.activityAlbum = activityAlbum;
	}

}